package cn.steam.bar.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @author zhang jintao on 2022/05/15
 **/
@ApiModel("创建武器请求对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WeaponCreateModel {

    @ApiModelProperty("名称")
    @NotEmpty
    private String name;

    @ApiModelProperty("类型")
    @NotEmpty
    private String type;

}
